/*
 * Author: vyouzhi <vyouzhi@163.com>
 * http://www.xda.cn
 *
 * File: CONVEY_LIB
 * Create Date: 2011-07-13 10:41:53
 *
 */
#ifndef CONVEY_LIB_H_
#define CONVEY_LIB_H_

#include <stdlib.h>
#include <string.h>
#include <stdio.h>

#include "conf_lib.h"
#include "socket_lib.h"
#include "mysql_lib.h"
#include "log_lib.h"

#define ASIZE 255

void doconvey(long id);
void getupdate(long id);
void tellany(char *s, long id);
void tell_all_client_update(long id);
int getclient(char *chp[]);
void getlog(long id, char *host, int port);
void updateing(long id, char *host, int port);
void doingupdate(long id, char *host, int port);
#endif /* CONVEY_LIB_H_ */
/* vim: set ts=4 sw=4: */

